package br.com.werp.suporte.Geral;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 08/11/2005 15:57:15
 * Last Modify Date 25/01/2007 09:55:03
 */

public class AlterarSenhaActionForm extends org.apache.struts.action.ActionForm {
  public String usur_login;
  public String javascript;
  public String usur_nome;
  public String usur_senha;
  public String nova_senha;
  public String repetir_nova_senha;
  private boolean valida = false;
  public AlterarSenhaActionForm() {
  }
  /**
    * USUR_LOGIN: Gets the value of this field.
    */
  public String getUsur_login() {
    return usur_login;
  }
  /**
     * USUR_LOGIN: Sets thhe value for this field.
     */
  public void setUsur_login(String USUR_LOGIN) {
    usur_login = USUR_LOGIN;
  }
  /**
    * JAVASCRIPT: Gets the value of this field.
    */
  public String getJavascript() {
    return javascript;
  }
  /**
     * JAVASCRIPT: Sets thhe value for this field.
     */
  public void setJavascript(String JAVASCRIPT) {
    javascript = JAVASCRIPT;
  }
  /**
    * USUR_NOME: Gets the value of this field.
    */
  public String getUsur_nome() {
    return usur_nome;
  }
  /**
     * USUR_NOME: Sets thhe value for this field.
     */
  public void setUsur_nome(String USUR_NOME) {
    usur_nome = USUR_NOME;
  }
  /**
    * USUR_SENHA: Gets the value of this field.
    */
  public String getUsur_senha() {
    return usur_senha;
  }
  /**
     * USUR_SENHA: Sets thhe value for this field.
     */
  public void setUsur_senha(String USUR_SENHA) {
    usur_senha = USUR_SENHA;
  }
  /**
    * NOVA_SENHA: Gets the value of this field.
    */
  public String getNova_senha() {
    return nova_senha;
  }
  /**
     * NOVA_SENHA: Sets thhe value for this field.
     */
  public void setNova_senha(String NOVA_SENHA) {
    nova_senha = NOVA_SENHA;
  }
  /**
    * REPETIR_NOVA_SENHA: Gets the value of this field.
    */
  public String getRepetir_nova_senha() {
    return repetir_nova_senha;
  }
  /**
     * REPETIR_NOVA_SENHA: Sets thhe value for this field.
     */
  public void setRepetir_nova_senha(String REPETIR_NOVA_SENHA) {
    repetir_nova_senha = REPETIR_NOVA_SENHA;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    usur_login = null;
    javascript = null;
    usur_nome = null;
    usur_senha = null;
    nova_senha = null;
    repetir_nova_senha = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
